﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CPPEI.ETL.DSImplement
{
    public class DEF
    {
        public class SQLSourceType
        {
            /// <summary>
            /// sql statement
            /// </summary>
            public const int Statement = 0x01;
            public const int StoredProcedure = 0x02;
        }
        public class ExtDSSourceType
        {
            public const int Method = 0x01;
        }

        public class WSSourceType
        {
            public const int Method = 0x01;
        }

        public class ExcelSourceType
        {
            public const int Sheet = 0x01;
        }

        public class RawDataSourceType
        {
            public const int Table = 0x01;
        }

        public class DSDtSourceType
        {
            public const int Source = 0x01;
        }

        /// <summary>
        /// webservice身份认证类型
        /// </summary>
        public class WSAuthenticationType
        {
            /// <summary>
            /// windows身份认证
            /// </summary>
            public const int Windows = 0x01;
            /// <summary>
            /// soap header
            /// </summary>
            public const int SOAPHeader = 0x02;
        }
    }
}
